package com.yaolisehng.controller;

import com.yaolisehng.api.GlobalFeignClient;
import com.yaolisehng.api.TestFeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author yaols
 * date  2023/4/16 12:42
 * version 1.0
 */
@RestController
public class TestController {

    @Resource
    private GlobalFeignClient globalFeignClient;

    @RequestMapping("/")
    public String test() {
        return globalFeignClient.test();
    }

}
